Interface: Debitor/Vendor – SAP Business PartnerThe integration enables you to link an SAP business partner to a debitor and vendor. Only the business partner <-> vendor integration is currently of significance for the commission component
You can only assign one vendor and/or debitor to each business partner in this case. The following, however, also describes the integration with the vendor as well as the integration with the debitor. The central data (name, address, bank details and relationships) are processed using only the SAP business partner. It is transferred from the SAP business partner via the update function modules to the debitor/vendor. You can no longer use the dialog maintenance of the debitor/vendor for processing this central data. This is because when the SAP business partner is updated, the values are overwritten.
Updating the debitor/vendor requires special authorization due to the special procedure used. For account groups whose debitors/vendors are linked with SAP business partners, authorization is only given to users who are allowed to process SAP business partner data. These users must then ensure that they only process the general debitor/vendor data using the SAP business partner.
You can only lock processing for the general debitor/vendor data that is linked to a partner if you modify the SAP standard system. This modification is currently not possible.
The integration also enables you to process the data for the vendors/debitors. The data that can be processed is, however, only a section of the total fields contained in the vendor/debitor master. Integration is not a replacement for the maintenance transaction for debitors/vendors, since many functions are not provided, and not all the fields can be processed. Missing fields or functions must be implemented by the user or the customer. Otherwise, you need to use the maintenance transaction of the debitor/vendor with the above mentioned restrictions for carrying out the functions or maintaining the fields that are not integrated.
Groups and Number Ranges
You determine the account grouping that is needed for creating a debitor/vendor by using the grouping. An account group from the debitor and the vendor is assigned to each group in the SAP business partner for this purpose. These assignments are stored in the TBC001 and TBD001 tables.
When you make this assignment, you determine whether there should be a number equivalence between the partner number of the SAP business partner and the debitor/vendor. For the possible combinations of number range definitions, note the following:
No number equivalence
Internal number assignment in FI
The number of the debitor/vendor is automatically assigned. Do not enter a debitor/vendor number on the initial screen.
External number assignment in FI
You need to enter the number of the debitor/vendor on the initial screen.
Number equivalence
Internal number assignment in FI
The partner number used for the SAP business partner is also used in FI. Internal number assignment is, therefore, not possible.
External number assignment in FI
The number intervals must cover the same area as the number ranges in the corresponding grouping.
Note
You can process the grouping using the V_TBC001 view (for the vendor) or the V_TBD001 view (for the debitor), with transaction SM30.
Integration Activation
Each application can specify for the event ISSTA (compare with BDT developer manual) whether a business partner should be a vendor or debitor for the application object BUPA.
Example
To do this, you can, for example, activate the CACS_CSC_EVENT_ISSTA_C function module for the commission component for the ISSTA event. This sets the commission clerk or commission contract partner role to creditor.
Customers can store their own function modules, which determine whether a business partner is a creditor in a role or not. To do this, the function module that you implement must call the "activation function module" FLBPC_MAIN_C_FLAG_SET".
Example
An example of this could be the CACS_CSC_EVENT_ISSTA_C function module.
If a business partner has already been linked in another role to a debitor/vendor, each role is regarded as being on the debitor/vendor side, so the update of the debitor/vendor is triggered.
Note
The update function modules (debitor/vendor) are called up regardless of the application that is active. If the role has been set to debitor/vendor using FLBPD_MAIN_DK_FLAG_SET , or if a debitor or vendor has already been assigned to the SAP business partner, the following data is always posted as redundant to the debitor/vendor.
- Name and general data
- The standard address
You need to ensure that the debitor/vendor only has company addresses (address category 1). For people, the address (category 2) must be converted to a company address first. This can cause data losses.
- Bank details and credit cards
Linking a Business Partner with a Vendor and/or Debitor
You can use the FLBPD2 and FLBPC2 transactions to assign an existing SAP business partner to an existing debitor or vendor. This overwrites the vendor/debitor data with the business partner data, if this data differs.
Creating a Business Partner from a Vendor/Debitor
You can use the FLBPD1 or FLBPC1 transactions to create SAP business partners from an existing debitor or vendor. The relevant data is transferred from the business partner.